using System;
using System.Collections.Generic;
using System.Text;

namespace prjQlyKinhDoanh
{
    public class ListItem
    {

        private string sDisplayValue;
        private int iValue;

        public ListItem()
        {
            sDisplayValue = "";
            iValue = 0;
        }

        public ListItem(int ID, string Name)
        {
            this.iValue = ID;
            this.sDisplayValue = Name;
        }

        public string Name
        {
            get { return sDisplayValue; }
            set { sDisplayValue = value; }
        }

        public int ItemData
        {
            get { return iValue; }
            set { iValue = value; }
        }

        public override string ToString()
        {
            return sDisplayValue;
        }

    }
}
